#ifndef INPUT_H_
#define INPUT_H_
#include "KeyListener.h"
#include "MouseListener.h"
#include <vector>
using namespace std;

class Input
{
public:
	bool events();
	void handleKeyEvent();
	void handleMouseEvent(SDL_Event * event);
	bool key[321];
	vector<KeyListener *> keyListeners;
	vector<MouseListener *> mouseListeners;
	
	void addKeyListener(KeyListener * listener);
	void addMouseListener(MouseListener * listener);
	Input();
	virtual ~Input();
};

#endif /*INPUT_H_*/
